<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改订单趋势')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-trend-edit" th:object="${sysOrderTrend}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">1分钟趋势：</label>
                <div class="col-sm-8">
                    <input name="m1" th:field="*{m1}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">5分钟趋势：</label>
                <div class="col-sm-8">
                    <input name="m5" th:field="*{m5}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">15分钟趋势：</label>
                <div class="col-sm-8">
                    <input name="m15" th:field="*{m15}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">30分钟趋势：</label>
                <div class="col-sm-8">
                    <input name="m30" th:field="*{m30}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">1小时趋势：</label>
                <div class="col-sm-8">
                    <input name="h1" th:field="*{h1}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">2小时趋势：</label>
                <div class="col-sm-8">
                    <input name="h2" th:field="*{h2}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">4小时趋势：</label>
                <div class="col-sm-8">
                    <input name="h4" th:field="*{h4}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">6小时趋势：</label>
                <div class="col-sm-8">
                    <input name="h6" th:field="*{h6}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">12小时趋势：</label>
                <div class="col-sm-8">
                    <input name="h12" th:field="*{h12}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">1天趋势：</label>
                <div class="col-sm-8">
                    <input name="d1" th:field="*{d1}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">3天趋势：</label>
                <div class="col-sm-8">
                    <input name="d3" th:field="*{d3}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">1周趋势：</label>
                <div class="col-sm-8">
                    <input name="w1" th:field="*{w1}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">1月趋势：</label>
                <div class="col-sm-8">
                    <input name="mon1" th:field="*{mon1}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">3月趋势：</label>
                <div class="col-sm-8">
                    <input name="mon3" th:field="*{mon3}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">币种：</label>
                <div class="col-sm-8">
                    <input name="con" th:field="*{con}" class="form-control" type="text" required>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/trend";
        $("#form-trend-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-trend-edit').serialize());
            }
        }
    </script>
</body>
</html>